﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace AdapterTool_Demo
{
    public partial class AddNewNotesForm : Form
    {
        //public bool m_saveornot;
        public string m_notes;

        public AddNewNotesForm()
        {
            InitializeComponent();
            m_notes = "";
            //m_saveornot = false;
        }

        private void textBox1_TextChanged(object sender, EventArgs e)
        {
            m_notes = textBox1.Text;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            //m_saveornot = true;
            this.DialogResult = DialogResult.OK;
            this.Close();
        }

        private void button2_Click(object sender, EventArgs e)
        {
            //m_saveornot = false;
            this.DialogResult = DialogResult.Cancel;
            this.Close();
        }
    }
}
